Skip to content

Instantly share code, notes, and snippets.

@mathix420
mathix420 / medium.user.js
Last active March 7, 2026 23:53
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@Akiyamov
Akiyamov / text.md
Last active March 7, 2026 23:53
Установка Xray, VLESS + Reality со своим доменом с помощью Caddy. Steal oneself

Обновленный гайд

В данном гайде будет рассмотрена установка прокси-сервера XRay и Caddy для маскировки под свой сайт со своим доменом. Если вы попали на эту статью не из репозитория скрипта, то вы всегда можете перейти в него по этой ссылке.
Гайд сделан для Ubuntu и Debian.

Домен

Для установки потребуется свой домен, лучше покупать не .ru и .рф, так как для них требуется паспорт.
После покупки домена советую перенести его на Cloudflare ради удобства. Как это сделать можно посмотреть здесь.
Добавьте A-запись, которая указывает на ваш виртуальный сервер, выключив при этом проксирование от Cloudflare, CDN нам не нужен. Если вы не понимаете как это сделать, то можете посмотреть это здесь.
Если вы купили домен, который исползьует punycode, например, в зоне .рф, то стоит сразу перевести

@gretel
gretel / airtag_ha.sh
Last active March 7, 2026 23:51
Extract AirTag private keys from jailbroken iPad (palera1n rootless, iOS 15.x). Gives JSON files to be used with https://github.com/malmeloo/hass-findmy. Runs from Mac over SSH.
#!/bin/bash
# airtag_ha.sh — Extract AirTag private keys from jailbroken iPad (palera1n rootless, iOS 15.x)
# Gives JSON files to be used with https://github.com/malmeloo/hass-findmy. Runs from Mac over SSH.
#
# Usage: ./airtag_ha.sh <IPAD_IP> [--port PORT] [--user USER]
# ./airtag_ha.sh --local <HEX_KEY>
set -euo pipefail
DATA="./data"; RECS="$DATA/records"; NAMES="$DATA/names"; DEC="$DATA/decoded"
@gretel
gretel / amiibo.sh
Last active March 7, 2026 23:51
query, read, encode (using amiitool), write and lock NTAG215 (using uFR Nano hardware) for the purpose of researching Nintendo's Amiibo infrastructure Raw
#!/bin/bash
# This is a companion script to https://github.com/konstantin-kelemen/arduino-amiibo-tools
# The original post this was crafted for was https://games.kel.mn/en/create-amiibo-clones-with-arduino/
# For more info go to https://games.kel.mn/en/companion-script-to-simplify-amiibo-cloning-with-arduino/
#requirements:
#sha1sum (part of coreutils)
#xxd (part of vim)
#hexdump
#amiitool (https://github.com/socram8888/amiitool)
#!/usr/bin/dotnet fsi
open System
open System.Collections.Generic
open System.Globalization
open System.IO
open System.Net.Http
open System.Numerics
open System.Text
@xPaw
xPaw / steam_quick_queue.user.js
Last active March 7, 2026 23:49
⚠ This script has been integrated into SteamDB browser extension!
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue three times to get the sale cards
// @version 2.3.0
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==
<?php
/*
* Written by xPaw
*
* Refference used: http://www.gtaforums.com/index.php?showtopic=457357
*/
define( 'BR', '<br>' );
$WANTED_MONEY = (int)1000000;
@xPaw
xPaw / localhost_cert.sh
Last active March 7, 2026 23:48
Localhost certificate
#!/bin/bash
openssl ecparam -name prime256v1 -genkey -out localhost.key
openssl req -new -x509 -days 7300 -out localhost.crt -key localhost.key \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost, DNS:*.localhost, IP:127.0.0.1, IP:::1\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
openssl dhparam -out dhparam.pem 4096
if( $args.Length -lt 1 )
{
"Pass in appids as arguments: 440 570 730"
Exit 1
}
foreach( $AppID in $args )
{
# Parse appids from links
$AppID = $AppID -creplace '.*?/([0-9]+).*', '$1'
// ==UserScript==
// @name Grand Prix Chart
// @namespace me.xpaw.grandprixchart
// @version 0.6
// @match https://store.steampowered.com/grandprix*
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
// @require https://cdnjs.cloudflare.com/ajax/libs/highcharts/7.1.2/highstock.js
// @run-at document-end
// ==/UserScript==